package cn.tinlan.shopcoin.app.koi.adapter;

import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v7.widget.RecyclerView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

import cn.tinlan.shopcoin.R;
import cn.tinlan.shopcoin.app.koi.model.KoiNoticeModel;

/**
 * Created by Mortimer on 2018/12/24. 15:08
 * 佛祖🙏，永无bug。
 */
public class NotiveAdapter extends BaseQuickAdapter<KoiNoticeModel,BaseViewHolder>{


    public NotiveAdapter(int layoutResId, @Nullable List data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, KoiNoticeModel item) {

        helper.setText(R.id.koi_noticeitem_tv,item.getTitle());

    }


}
